function isValidEmailAddress(emailAddress) 
{
	var pattern = new RegExp(/^[+a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/i);
	return pattern.test(emailAddress);
}

$(document).ready(function(){		
	
	$("#submit_book_hotel_step3").click(function(){
				
		var tamp = "";
		var tour_captcha	 	= $("#Captcha").val();
		/*---------------------------------------------------------*/
		if(tour_captcha=="")
		{
			$("#contact_error_captcha").removeClass('contact_error');
			$("#contact_error_captcha").addClass('contact_error_show');
			tamp += "ten";
		}
		else
		{
			$("#contact_error_captcha").removeClass('contact_error_show');
			$("#contact_error_captcha").addClass('contact_error');
		}
				
		if(tamp!="")
			return false;
		else return true;			
	});	
});